const util = require('utils/util.js')
App({
    onLaunch: function () {
        try {
            let userInfo = wx.getStorageSync('userInfo')
            this.globalData.userInfo = userInfo
            let systemInfo = wx.getSystemInfoSync()
            this.globalData.px2rpx = 750 / systemInfo.windowWidth
        } catch (e) { }
    },

    globalData: {
        userInfo: null,
        util: util,
        isLogined: false,
        px2rpx: 2,
    }
})